package com.easylinkin.linkappapi.danger.entity.vo;

import com.easylinkin.linkappapi.danger.entity.DangerType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * DangerType实体类Vo
 *
 * @author CodeGenerator
 * @date 2022/07/23
 */

@Data
@Accessors(chain = true)
public class DangerTypeNode extends DangerType {
    /**
     * 子节点
     */
    private List<DangerTypeNode> children;

    public DangerTypeNode() {
    }

    public DangerTypeNode(Long dangerTypeId, String fullId, String fullName, String name, String code, Integer level) {
        super(dangerTypeId, fullId, fullName, name, code, level);
    }

    public DangerTypeNode(Long dangerTypeId, String fullId, String fullName, String name, String code, Integer level, Integer nodeType) {
        super(dangerTypeId, fullId, fullName, name, code, level,nodeType);
    }
}
